Component({
  options: {
    virtualHost: !0
  },
  externalClasses: ["custom-class"],
  properties: {
    list: {
      type: Array,
      value: []
    }
  },
  data: {
    show: !1,
    _current: {}
  },
  methods: {
    select: function (t) {
      var e = t.currentTarget.dataset.item;
      this.setData({
        _current: e
      }), this.triggerEvent("change", e)
    },
    refresh: function () {
      this.triggerEvent("refresh")
    }
  }
});